set(_BLE_MESH_TAG_MAP
    CONFIG_BLE_MESH_STACK_ERR_LOG_COMPRESSION
    CONFIG_BLE_MESH_STACK_ERR_LOG_PRESERVE
    BT_ERR

    CONFIG_BLE_MESH_STACK_WARN_LOG_COMPRESSION
    CONFIG_BLE_MESH_STACK_WARN_LOG_PRESERVE
    BT_WARN

    CONFIG_BLE_MESH_STACK_INFO_LOG_COMPRESSION
    CONFIG_BLE_MESH_STACK_INFO_LOG_PRESERVE
    BT_INFO

    CONFIG_BLE_MESH_STACK_DEBUG_LOG_COMPRESSION
    CONFIG_BLE_MESH_STACK_DEBUG_LOG_PRESERVE
    BT_DBG

    CONFIG_BLE_MESH_NET_BUF_ERR_LOG_COMPRESSION
    CONFIG_BLE_MESH_NET_BUF_ERR_LOG_PRESERVE
    NET_BUF_ERR

    CONFIG_BLE_MESH_NET_BUF_WARN_LOG_COMPRESSION
    CONFIG_BLE_MESH_NET_BUF_WARN_LOG_PRESERVE
    NET_BUF_WARN

    CONFIG_BLE_MESH_NET_BUF_INFO_LOG_COMPRESSION
    CONFIG_BLE_MESH_NET_BUF_INFO_LOG_PRESERVE
    NET_BUF_INFO

    CONFIG_BLE_MESH_NET_BUF_DEBUG_LOG_COMPRESSION
    CONFIG_BLE_MESH_NET_BUF_DEBUG_LOG_PRESERVE
    NET_BUF_DBG
)

include(${CMAKE_CURRENT_LIST_DIR}/tag_table_function.cmake)

set(BLE_MESH_TAGS "")
set(BLE_MESH_TAGS_PRESERVE "")
tag_table_to_lists(_BLE_MESH_TAG_MAP BLE_MESH_TAGS BLE_MESH_TAGS_PRESERVE)
set(BLE_MESH_TAGS          "${BLE_MESH_TAGS}"          PARENT_SCOPE)
set(BLE_MESH_TAGS_PRESERVE "${BLE_MESH_TAGS_PRESERVE}" PARENT_SCOPE)
